package cn.dfiy.demo.test;

import cn.dfiy.demo.entity.*;


public class Demo03 {
    public static void main(String[] args) {
        Print print= new Print(new Colorink(),new A4Paper());
        System.out.println(print);
        print.setInk(new Blackink());
        print.setIpaper(new B5paper());
        System.out.println(print);
    }
}
